package en.kaist.cs408.acav;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ImageView;
import en.kaist.cs408.R;

public class CreateClassSuccess extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.createclass_success);
		
		ImageView home = (ImageView)findViewById(R.id.homebutton);
		home.setOnClickListener(new View.OnClickListener(){

			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent settingsActivity = new Intent(CreateClassSuccess.this, Home.class);
				settingsActivity.setFlags(Intent.FLAG_ACTIVITY_CLEAR_TOP);
				startActivity(settingsActivity);
			}
			
		});
	}
}